<h1>Nette\Forms naming container test</h1>

Submitted?
string(6) "object"

Valid?
bool(TRUE)

Values:
array(7) {
  "name" => string(3) "jim"
  "text1" => string(5) "hello"
  "text2" => string(5) "world"
  "formCont" => array(2) {
    "name" => string(17) "jack x\y o'connor"
    "age" => string(2) "23"
  }
  "firstperson" => array(2) {
    "name" => string(5) "david"
    "age" => string(2) "30"
  }
  "secondperson" => array(3) {
    "name" => string(3) "jim"
    "age" => string(2) "40"
    "avatar" => object(HttpUploadedFile) (6) {
      "name" private => string(11) "license.txt"
      "type" private => string(10) "text/plain"
      "realType" private => NULL
      "size" private => int(3013)
      "tmpName" private => string(23) "C:\PHP\temp\php1D5C.tmp"
      "error" private => int(0)
    }
  }
  "age" => string(2) "50"
}

Setted values:
array(7) {
  "name" => string(3) "jim"
  "text1" => string(5) "hello"
  "text2" => string(5) "world"
  "formCont" => array(2) {
    "name" => string(4) "jack"
    "age" => string(2) "23"
  }
  "firstperson" => array(2) {
    "name" => string(5) "david"
    "age" => string(2) "30"
  }
  "secondperson" => array(3) {
    "name" => string(3) "jim"
    "age" => string(2) "40"
    "avatar" => NULL
  }
  "age" => string(2) "50"
}

Render:
<form action="" method="post" enctype="multipart/form-data">

<table>
<tr>
	<th><label for="frm-name">Your name:</label></th>

	<td><input type="text" size="35" class="text" name="name" id="frm-name" value="jim" /></td>
</tr>

<tr>
	<th><label for="frm-text1">First line</label></th>

	<td><input type="text" class="text" name="text1" id="frm-text1" value="hello" /></td>
</tr>

<tr>
	<th><label for="frm-text2">Second line</label></th>

	<td><input type="text" class="text" name="text2" id="frm-text2" value="world" /></td>
</tr>

<tr>
	<th><label for="frm-formCont-name">Your name:</label></th>

	<td><input type="text" size="35" class="text" name="formCont[name]" id="frm-formCont-name" value="jack" /></td>
</tr>

<tr>
	<th><label for="frm-formCont-age">Your age:</label></th>

	<td><input type="text" size="5" class="text" name="formCont[age]" id="frm-formCont-age" value="23" /></td>
</tr>

<tr>
	<th><label for="frm-firstperson-name">Your name:</label></th>

	<td><input type="text" size="35" class="text" name="firstperson[name]" id="frm-firstperson-name" value="david" /></td>
</tr>

<tr>
	<th><label for="frm-firstperson-age">Your age:</label></th>

	<td><input type="text" size="5" class="text" name="firstperson[age]" id="frm-firstperson-age" value="30" /></td>
</tr>

<tr>
	<th><label for="frm-secondperson-name">Your name:</label></th>

	<td><input type="text" size="35" class="text" name="secondperson[name]" id="frm-secondperson-name" value="jim" /></td>
</tr>

<tr>
	<th><label for="frm-secondperson-age">Your age:</label></th>

	<td><input type="text" size="5" class="text" name="secondperson[age]" id="frm-secondperson-age" value="40" /></td>
</tr>

<tr>
	<th><label for="frm-secondperson-avatar">Picture:</label></th>

	<td><input type="file" class="text" name="secondperson[avatar]" id="frm-secondperson-avatar" /></td>
</tr>

<tr>
	<th><label for="frm-age">Your age:</label></th>

	<td><input type="text" size="5" class="text" name="age" id="frm-age" value="50" /></td>
</tr>

<tr>
	<th>&nbsp;</th>

	<td><input type="submit" class="button" name="submit1" id="frm-submit1" value="Send" /></td>
</tr>
</table>

</form>

